home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 6-Apple⁄DEC Alliance / Solutions & Networking Guide / Macintosh Networking Guide / Macintosh Networking Guide / card_19139.txt < prev    next >
Text File  |  1990-04-17  |  20KB  |  796 lines

  1. -- card: 19139 from stack: in
  2. -- bmap block id: 29421
  3. -- flags: 0000
  4. -- background id: 18894
  5. -- name: Hallway1
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global env,sol,floor,currentFloor
  9.   --‚àÜ Clear room signs by putting asteriscs in each
  10.   repeat with i = 1 to 4
  11.     put "*" into cd fld i
  12.   end repeat
  13.   repeat with i = 3 to 9
  14.     put "*" into cd fld i of cd "Hallway2"
  15.   end repeat
  16.   --‚àÜ Put environment name in hallway sign,
  17.   --‚àÜ convert "Mac" to "Macintosh" (legal requirement) if needed
  18.   if env = "Mac" or env = empty then
  19.     put "Macintosh" into cd fld "envName"
  20.     put "Macintosh" into cd fld "envName" of cd "Hallway2"
  21.   else
  22.     put env into cd fld "envName"
  23.     put env into cd fld "envName" of cd "Hallway2"
  24.   end if
  25.   if floor is 3 then
  26.     put "Applications" into cd fld "Floor"
  27.     put "Applications" into cd fld "Floor" of cd "Hallway2"
  28.     put "3  Applications" into currentFloor
  29.     put cd fld (env & "sol") of card "Limit" into solutions
  30.     put the number of lines of solutions into number
  31.   else
  32.     if floor is 2 then
  33.       put "Network¬†Services" into sol
  34.       put "Network Services" into cd fld "Floor"
  35.       put "2  Network Services" into currentFloor
  36.       put "Network Services" into cd fld "Floor" of cd "Hallway2"
  37.       put cd fld env of card "LimitNet" into solutions
  38.     end if
  39.   end if
  40.   --‚àÜ show more button for additional solutions
  41.   show cd btn "Hallway2"
  42.   --‚àÜ Force door signs if on Foundation level (temporary)
  43.   --‚àÜ or use solutions found for Applications and Network Services levels
  44.   if floor is 1 then
  45.     put "1  Hardware" into currentFloor
  46.     put "Hardware" into sol
  47.     put "Hardware" into cd fld "Floor"
  48.     put "Hardware" into cd fld "Floor" of cd "Hallway2"
  49.     put "Macintosh II Family" into cd fld "1"
  50.     put "Macintosh SE/30" into cd fld "2"
  51.     put "Macintosh Portable" into cd fld "3"
  52.     put "Macintosh SE" into cd fld "4"
  53.     hide cd btn "Hallway2"
  54.   else
  55.     repeat with i = 1 to 4
  56.       if line i of solutions is "Network¬†Services" or line i of solutions is empty then exit repeat
  57.       put line i of solutions into cd fld i
  58.     end repeat
  59.     --‚àÜ Set up second hall if needed
  60.     repeat with i = 5 to 9
  61.       if line i of solutions is "Network¬†Services" or line i of solutions is empty then
  62.         --‚àÜ Hide second hall button if no solutions are there
  63.         if i is 5 then hide cd btn "Hallway2"
  64.         exit repeat
  65.       else
  66.         put line i of solutions into cd fld (i -2) of cd "Hallway2"
  67.       end if
  68.     end repeat
  69.   end if
  70.   unlock screen with dissolve
  71. end openCard
  72.  
  73. on closeCard
  74.   repeat with i = 1 to the number of cd flds
  75.     put empty into cd fld i
  76.   end repeat
  77. end closeCard
  78.  
  79.  
  80. -- part 27 (button)
  81. -- low flags: 00
  82. -- high flags: 0000
  83. -- rect: left=0 top=0 right=303 bottom=512
  84. -- title width / last selected line: 0
  85. -- icon id / first selected line: 0 / 0
  86. -- text alignment: 1
  87. -- font id: 0
  88. -- text size: 12
  89. -- style flags: 0
  90. -- line height: 16
  91. -- part name: New Button
  92.  
  93.  
  94. -- part 7 (field)
  95. -- low flags: 01
  96. -- high flags: 0000
  97. -- rect: left=0 top=33 right=51 bottom=117
  98. -- title width / last selected line: 0
  99. -- icon id / first selected line: 0 / 0
  100. -- text alignment: 1
  101. -- font id: 242
  102. -- text size: 10
  103. -- style flags: 10240
  104. -- line height: 13
  105. -- part name: 1
  106. ----- HyperTalk script -----
  107. on mouseUp
  108.   global env,sol,service,foundation,theRoom
  109.   global lastRoom,hall,floor,tidyUpNow
  110.   set cursor to busy
  111.   set lockscreen to true
  112.   --‚àÜ Get the name they click from the door sign
  113.   get me
  114.   put me into choice
  115.   --‚àÜ Test for an empty room
  116.   if choice is "*" then
  117.     if env is not "Mac" then
  118.       answer "No" && env && "solutions are installed here yet."
  119.     else
  120.       answer "No Macintosh solutions are installed here yet."
  121.     end if
  122.     exit mouseUp
  123.   end if
  124.   --‚àÜ Track the solution, network service, or network foundation chosen
  125.   --‚àÜ and 1st part of appropriate room name
  126.   if floor is 3 then
  127.     put choice into sol
  128.     put "" into level
  129.   else
  130.     if floor is 2 then
  131.       put choice into service
  132.       put "Network " into level
  133.     else
  134.       if floor is 1 then
  135.         put choice into foundation
  136.         put "Hardware " into level
  137.       end if
  138.     end if
  139.   end if
  140.   --‚àÜ Determine 2nd part of room name for the correct environment room
  141.   --‚àÜ There are three types of rooms at each of three levels: The levels
  142.   --‚àÜ are; Application, Network Services, and Network Foundation.  The
  143.   --‚àÜ three types of rooms are; Mac to PC, Mac to Mac, and Mac to Host.
  144.   --‚àÜ The hardware level uses only one type of room.
  145.   if env is "PC" then
  146.     put "RoomMicro" into room
  147.   else
  148.     if env is "Mac" then
  149.       put "RoomMac" into room
  150.     else
  151.       put "Room" into room
  152.     end if
  153.   end if
  154.   --‚àÜ Track the hall entered from
  155.   put the short name of this card into hall
  156.   --‚àÜ Check for change of room
  157.   put env && sol into newRoom
  158.   if lastRoom <> newRoom then put true into tidyUpNow
  159.   --‚àÜ Now concatenate level and environment data and enter that room.
  160.   if floor is not 1 then
  161.     put (level & room) into theRoom
  162.   else
  163.     put "hardware room" into theRoom
  164.   end if
  165.   go to cd theRoom
  166.   unlock screen with dissolve
  167. end mouseUp
  168.  
  169. On mouseDown
  170.   Global ClickSND
  171.   play ClickSND
  172. End mouseDown
  173.  
  174. on mouseEnter
  175.   put me into roomsName
  176.   if roomsName is not "*" then
  177.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  178.   else
  179.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  180.   end if
  181.   changeCurs 6069
  182. end mouseEnter
  183.  
  184. on mouseleave
  185.   put empty into fld "Tell"
  186.   changeCurs 69
  187. end mouseLeave
  188.  
  189.  
  190.  
  191.  
  192. -- part 3 (field)
  193. -- low flags: 01
  194. -- high flags: 0000
  195. -- rect: left=105 top=62 right=79 bottom=220
  196. -- title width / last selected line: 0
  197. -- icon id / first selected line: 0 / 0
  198. -- text alignment: 1
  199. -- font id: 242
  200. -- text size: 9
  201. -- style flags: 10240
  202. -- line height: 12
  203. -- part name: 2
  204. ----- HyperTalk script -----
  205. on mouseUp
  206.   global env,sol,service,foundation,theRoom
  207.   global hall,floor,lastRoom,tidyUpNow
  208.   set cursor to busy
  209.   set lockscreen to true
  210.   --‚àÜ Get the name they click from the door sign
  211.   get me
  212.   put me into choice
  213.   --‚àÜ Test for an empty room
  214.   if choice is "*" then
  215.     if env is not "Mac" then
  216.       answer "No" && env && "solutions are installed here yet."
  217.     else
  218.       put "Macintosh" into nameChange
  219.       answer "No" && nameChange && "solutions are installed here yet."
  220.     end if
  221.     exit mouseUp
  222.   end if
  223.   --‚àÜ Track the solution, network service, or network foundation chosen
  224.   --‚àÜ and 1st part of appropriate room name
  225.   if floor is 3 then
  226.     put choice into sol
  227.     put "" into level
  228.   else
  229.     if floor is 2 then
  230.       put choice into service
  231.       put "Network " into level
  232.     else
  233.       if floor is 1 then
  234.         put choice into foundation
  235.         put "Hardware " into level
  236.       end if
  237.     end if
  238.   end if
  239.   --‚àÜ Determine 2nd part of room name for the correct environment room
  240.   --‚àÜ There are three types of rooms at each of three levels: The levels
  241.   --‚àÜ are; Application, Network Services, and Network Foundation.  The
  242.   --‚àÜ three types of rooms are; Mac to PC, Mac to Mac, and Mac to Host.
  243.   --‚àÜ The hardware level uses only one type of room.
  244.   if env is "PC" then
  245.     put "RoomMicro" into room
  246.   else
  247.     if env is "Mac" then
  248.       put "RoomMac" into room
  249.     else
  250.       put "Room" into room
  251.     end if
  252.   end if
  253.   --‚àÜ Track the hall entered from
  254.   put the short name of this card into hall
  255.   --‚àÜ Check for change of room
  256.   put env && sol into newRoom
  257.   if lastRoom <> newRoom then put true into tidyUpNow
  258.   --‚àÜ Now concatenate level and environment data and enter that room.
  259.   if floor is not 1 then
  260.     put (level & room) into theRoom
  261.   else
  262.     put "hardware room" into theRoom
  263.   end if
  264.   go to cd theRoom
  265.   unlock screen with dissolve
  266. end mouseUp
  267.  
  268. On mouseDown
  269.   Global ClickSND
  270.   play ClickSND
  271. End mouseDown
  272.  
  273. on mouseEnter
  274.   put me into roomsName
  275.   if roomsName is not "*" then
  276.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  277.   else
  278.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  279.   end if
  280.   changeCurs 6069
  281. end mouseEnter
  282.  
  283. on mouseleave
  284.   put empty into fld "Tell"
  285.   changeCurs 69
  286. end mouseLeave
  287.  
  288.  
  289.  
  290.  
  291. -- part 8 (field)
  292. -- low flags: 01
  293. -- high flags: 0000
  294. -- rect: left=201 top=87 right=102 bottom=300
  295. -- title width / last selected line: 0
  296. -- icon id / first selected line: 0 / 0
  297. -- text alignment: 1
  298. -- font id: 242
  299. -- text size: 9
  300. -- style flags: 10240
  301. -- line height: 12
  302. -- part name: 3
  303. ----- HyperTalk script -----
  304. on mouseUp
  305.   global env,sol,service,foundation,theRoom
  306.   global hall,floor,lastRoom,tidyUpNow
  307.   set cursor to busy
  308.   set lockscreen to true
  309.   --‚àÜ Get the name they click from the door sign
  310.   get me
  311.   put me into choice
  312.   --‚àÜ Test for an empty room
  313.   if choice is "*" then
  314.     if env is not "Mac" then
  315.       answer "No" && env && "solutions are installed here yet."
  316.     else
  317.       put "Macintosh" into nameChange
  318.       answer "No" && nameChange && "solutions are installed here yet."
  319.     end if
  320.     exit mouseUp
  321.   end if
  322.   --‚àÜ Track the solution, network service, or network foundation chosen
  323.   --‚àÜ and 1st part of appropriate room name
  324.   if floor is 3 then
  325.     put choice into sol
  326.     put "" into level
  327.   else
  328.     if floor is 2 then
  329.       put choice into service
  330.       put "Network " into level
  331.     else
  332.       if floor is 1 then
  333.         put choice into foundation
  334.         put "Hardware " into level
  335.       end if
  336.     end if
  337.   end if
  338.   --‚àÜ Determine 2nd part of room name for the correct environment room
  339.   --‚àÜ There are three types of rooms at each of three levels: The levels
  340.   --‚àÜ are; Application, Network Services, and Network Foundation.  The
  341.   --‚àÜ three types of rooms are; Mac to PC, Mac to Mac, and Mac to Host.
  342.   --‚àÜ The hardware level uses only one type of room.
  343.   if env is "PC" then
  344.     put "RoomMicro" into room
  345.   else
  346.     if env is "Mac" then
  347.       put "RoomMac" into room
  348.     else
  349.       put "Room" into room
  350.     end if
  351.   end if
  352.   --‚àÜ Track the hall entered from
  353.   put the short name of this card into hall
  354.   --‚àÜ Check for change of room
  355.   put env && sol into newRoom
  356.   if lastRoom <> newRoom then put true into tidyUpNow
  357.   --‚àÜ Now concatenate level and environment data and enter that room.
  358.   if floor is not 1 then
  359.     put (level & room) into theRoom
  360.   else
  361.     put "hardware room" into theRoom
  362.   end if
  363.   go to cd theRoom
  364.   unlock screen with dissolve
  365. end mouseUp
  366.  
  367. On mouseDown
  368.   Global ClickSND
  369.   play ClickSND
  370. End mouseDown
  371.  
  372. on mouseEnter
  373.   put me into roomsName
  374.   if roomsName is not "*" then
  375.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  376.   else
  377.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  378.   end if
  379.   changeCurs 6069
  380. end mouseEnter
  381.  
  382. on mouseleave
  383.   put empty into fld "Tell"
  384.   changeCurs 69
  385. end mouseLeave
  386.  
  387.  
  388.  
  389.  
  390. -- part 9 (field)
  391. -- low flags: 01
  392. -- high flags: 0000
  393. -- rect: left=280 top=103 right=117 bottom=380
  394. -- title width / last selected line: 0
  395. -- icon id / first selected line: 0 / 0
  396. -- text alignment: 1
  397. -- font id: 242
  398. -- text size: 9
  399. -- style flags: 10240
  400. -- line height: 12
  401. -- part name: 4
  402. ----- HyperTalk script -----
  403. on mouseUp
  404.   global env,sol,service,foundation,theRoom
  405.   global hall,floor,lastRoom,tidyUpNow
  406.   set cursor to busy
  407.   set lockscreen to true
  408.   --‚àÜ Get the name they click from the door sign
  409.   get me
  410.   put me into choice
  411.   --‚àÜ Test for an empty room
  412.   if choice is "*" then
  413.     if env is not "Mac" then
  414.       answer "No" && env && "solutions are installed here yet."
  415.     else
  416.       put "Macintosh" into nameChange
  417.       answer "No" && nameChange && "solutions are installed here yet."
  418.     end if
  419.     exit mouseUp
  420.   end if
  421.   --‚àÜ Track the solution, network service, or network foundation chosen
  422.   --‚àÜ and 1st part of appropriate room name
  423.   if floor is 3 then
  424.     put choice into sol
  425.     put "" into level
  426.   else
  427.     if floor is 2 then
  428.       put choice into service
  429.       put "Network " into level
  430.     else
  431.       if floor is 1 then
  432.         put choice into foundation
  433.         put "Hardware " into level
  434.       end if
  435.     end if
  436.   end if
  437.   --‚àÜ Determine 2nd part of room name for the correct environment room
  438.   --‚àÜ There are three types of rooms at each of three levels: The levels
  439.   --‚àÜ are; Application, Network Services, and Network Foundation.  The
  440.   --‚àÜ three types of rooms are; Mac to PC, Mac to Mac, and Mac to Host.
  441.   --‚àÜ The hardware level uses only one type of room.
  442.   if env is "PC" then
  443.     put "RoomMicro" into room
  444.   else
  445.     if env is "Mac" then
  446.       put "RoomMac" into room
  447.     else
  448.       put "Room" into room
  449.     end if
  450.   end if
  451.   --‚àÜ Track the hall entered from
  452.   put the short name of this card into hall
  453.   --‚àÜ Check for change of room
  454.   put env && sol into newRoom
  455.   if lastRoom <> newRoom then put true into tidyUpNow
  456.   --‚àÜ Now concatenate level and environment data and enter that room.
  457.   if floor is not 1 then
  458.     put (level & room) into theRoom
  459.   else
  460.     put "hardware room" into theRoom
  461.   end if
  462.   go to cd theRoom
  463.   unlock screen with dissolve
  464. end mouseUp
  465.  
  466. On mouseDown
  467.   Global ClickSND
  468.   play ClickSND
  469. End mouseDown
  470.  
  471. on mouseEnter
  472.   put me into roomsName
  473.   if roomsName is not "*" then
  474.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  475.   else
  476.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  477.   end if
  478.   changeCurs 6069
  479. end mouseEnter
  480.  
  481. on mouseleave
  482.   put empty into fld "Tell"
  483.   changeCurs 69
  484. end mouseLeave
  485.  
  486.  
  487.  
  488.  
  489. -- part 20 (button)
  490. -- low flags: 00
  491. -- high flags: 0000
  492. -- rect: left=442 top=104 right=251 bottom=512
  493. -- title width / last selected line: 0
  494. -- icon id / first selected line: 0 / 0
  495. -- text alignment: 1
  496. -- font id: 0
  497. -- text size: 12
  498. -- style flags: 0
  499. -- line height: 16
  500. -- part name: 
  501. ----- HyperTalk script -----
  502. on mouseUp
  503.   global env,floor,lastfloor,currentFloor
  504.   --‚àÜ Capture env name from hall sign
  505.   put cd field "envName" into envTemp
  506.   --‚àÜ Go inside elevator and set up view
  507.   set lockscreen to true
  508.   go to cd "ElevatorOpenHall"
  509.   --‚àÜ Show name of chosen env
  510.   put envTemp into cd field "EnvName"
  511.   --‚àÜ Set floor indicators
  512.   hide cd button "destinationHiliter"
  513.   hide cd button "3  ApplicationsHiliter"
  514.   hide cd button "2  Network ServicesHiliter"
  515.   hide cd button "1  HardwareHiliter"
  516.   hide cd button "0  LobbyHiliter"
  517.   show cd button (currentFloor & "Hiliter")
  518.   --‚àÜ Set lights over door
  519.   set the hilite of cd btn "3  Applications" to false
  520.   set the hilite of cd btn "2  Network Services" to false
  521.   set the hilite of cd btn "1  Hardware" to false
  522.   set the hilite of cd btn "0  Lobby" to false
  523.   set the hilite of cd button currentFloor to true
  524.   --‚àÜ Put level name over door
  525.   put currentFloor into cd fld "currentFloor"
  526.   push card
  527.   unlock screen with barn door open
  528. end mouseUp
  529.  
  530. on mouseEnter
  531.   changeCurs 6069
  532.   put "Elevator Button" & return & "click to enter elevator" into fld "Tell"
  533. end mouseEnter
  534.  
  535. On mouseDown
  536.   global ButtonSND
  537.   play ButtonSND
  538. End mouseDown
  539.  
  540. on mouseLeave
  541.   put empty into fld "Tell"
  542.   changeCurs 69
  543. end mouseLeave
  544.  
  545.  
  546.  
  547. -- part 4 (field)
  548. -- low flags: 01
  549. -- high flags: 0000
  550. -- rect: left=342 top=2 right=30 bottom=508
  551. -- title width / last selected line: 0
  552. -- icon id / first selected line: 0 / 0
  553. -- text alignment: 1
  554. -- font id: 156
  555. -- text size: 18
  556. -- style flags: 0
  557. -- line height: 24
  558. -- part name: envName
  559.  
  560.  
  561. -- part 21 (field)
  562. -- low flags: 01
  563. -- high flags: 0000
  564. -- rect: left=336 top=28 right=54 bottom=512
  565. -- title width / last selected line: 0
  566. -- icon id / first selected line: 0 / 0
  567. -- text alignment: 1
  568. -- font id: 156
  569. -- text size: 18
  570. -- style flags: 8192
  571. -- line height: 24
  572. -- part name: Floor
  573.  
  574.  
  575. -- part 5 (button)
  576. -- low flags: 00
  577. -- high flags: 0002
  578. -- rect: left=333 top=141 right=162 bottom=368
  579. -- title width / last selected line: 0
  580. -- icon id / first selected line: 9661 / 9661
  581. -- text alignment: 1
  582. -- font id: 0
  583. -- text size: 12
  584. -- style flags: 0
  585. -- line height: 16
  586. -- part name: Hallway2
  587. ----- HyperTalk script -----
  588. On mouseDown
  589.   Global ClickSND
  590.   play ClickSND
  591. End mouseDown
  592.  
  593. on mouseUp
  594.   global env, sol, hall
  595.   set cursor to busy
  596.   set lockscreen to true
  597.   go to card "Hallway2"
  598.   put "Around Corner" into cd fld "HallName"
  599.   unlock screen with dissolve
  600. end mouseUp
  601.  
  602. on mouseEnter
  603.   put "Additional Alternatives" & return & "click for more choices" into fld "Tell"
  604.   changeCurs 6069
  605. end mouseEnter
  606.  
  607. on mouseLeave
  608.   put empty into fld "Tell"
  609.   changeCurs 69
  610. end mouseLeave
  611.  
  612.  
  613. -- part 28 (button)
  614. -- low flags: 00
  615. -- high flags: 0000
  616. -- rect: left=278 top=124 right=236 bottom=312
  617. -- title width / last selected line: 0
  618. -- icon id / first selected line: 0 / 0
  619. -- text alignment: 1
  620. -- font id: 0
  621. -- text size: 12
  622. -- style flags: 0
  623. -- line height: 16
  624. -- part name: New Button
  625. ----- HyperTalk script -----
  626. on mouseUp
  627.   set cursor to busy
  628.   send mouseUp to cd fld "4"
  629. end mouseUp
  630.  
  631. On mouseDown
  632.   Global ClickSND
  633.   play ClickSND
  634. End mouseDown
  635.  
  636. on mouseEnter
  637.   put cd fld 4 into roomsName
  638.   if roomsName is not "*" then
  639.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  640.   else
  641.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  642.   end if
  643.   changeCurs 6069
  644. end mouseEnter
  645.  
  646. on mouseleave
  647.   put empty into fld "Tell"
  648.   changeCurs 69
  649. end mouseLeave
  650.  
  651.  
  652.  
  653. -- part 29 (button)
  654. -- low flags: 00
  655. -- high flags: 0000
  656. -- rect: left=217 top=111 right=260 bottom=266
  657. -- title width / last selected line: 0
  658. -- icon id / first selected line: 0 / 0
  659. -- text alignment: 1
  660. -- font id: 0
  661. -- text size: 12
  662. -- style flags: 0
  663. -- line height: 16
  664. -- part name: New Button
  665. ----- HyperTalk script -----
  666. on mouseUp
  667.   set cursor to busy
  668.   send mouseUp to cd fld "3"
  669. end mouseUp
  670.  
  671. On mouseDown
  672.   Global ClickSND
  673.   play ClickSND
  674. End mouseDown
  675.  
  676. on mouseEnter
  677.   put cd fld 3 into roomsName
  678.   if roomsName is not "*" then
  679.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  680.   else
  681.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  682.   end if
  683.   changeCurs 6069
  684. end mouseEnter
  685.  
  686. on mouseleave
  687.   put empty into fld "Tell"
  688.   changeCurs 69
  689. end mouseLeave
  690.  
  691.  
  692.  
  693. -- part 30 (button)
  694. -- low flags: 00
  695. -- high flags: 0000
  696. -- rect: left=128 top=91 right=291 bottom=192
  697. -- title width / last selected line: 0
  698. -- icon id / first selected line: 0 / 0
  699. -- text alignment: 1
  700. -- font id: 0
  701. -- text size: 12
  702. -- style flags: 0
  703. -- line height: 16
  704. -- part name: New Button
  705. ----- HyperTalk script -----
  706. on mouseUp
  707.   set cursor to busy
  708.   send mouseUp to cd fld "2"
  709. end mouseUp
  710.  
  711. On mouseDown
  712.   Global ClickSND
  713.   play ClickSND
  714. End mouseDown
  715.  
  716. on mouseEnter
  717.   put cd fld 2 into roomsName
  718.   if roomsName is not "*" then
  719.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  720.   else
  721.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  722.   end if
  723.   changeCurs 6069
  724. end mouseEnter
  725.  
  726. on mouseleave
  727.   put empty into fld "Tell"
  728.   changeCurs 69
  729. end mouseLeave
  730.  
  731.  
  732.  
  733. -- part 31 (button)
  734. -- low flags: 00
  735. -- high flags: 0000
  736. -- rect: left=16 top=67 right=304 bottom=98
  737. -- title width / last selected line: 0
  738. -- icon id / first selected line: 0 / 0
  739. -- text alignment: 1
  740. -- font id: 0
  741. -- text size: 12
  742. -- style flags: 0
  743. -- line height: 16
  744. -- part name: New Button
  745. ----- HyperTalk script -----
  746. on mouseUp
  747.   set cursor to busy
  748.   send mouseUp to cd fld "1"
  749. end mouseUp
  750.  
  751. On mouseDown
  752.   Global ClickSND
  753.   play ClickSND
  754. End mouseDown
  755.  
  756. on mouseEnter
  757.   put cd fld 1 into roomsName
  758.   if roomsName is not "*" then
  759.     put roomsName & " Door" & return & "click once to enter" into fld "Tell"
  760.   else
  761.     put "No solutions are" & return & "installed here yet" into fld "Tell"
  762.   end if
  763.   changeCurs 6069
  764. end mouseEnter
  765.  
  766. on mouseleave
  767.   put empty into fld "Tell"
  768.   changeCurs 69
  769. end mouseLeave
  770.  
  771.  
  772.  
  773. -- part contents for background part 9
  774. ----- text -----
  775. List running on ENV CPU
  776. -------------------------
  777. ‚Ä¢ Eeny
  778. ‚Ä¢ Meenee
  779. ‚Ä¢ Minee
  780. ‚Ä¢ Mo
  781.  
  782. (it is dependant on what item is chosen 
  783. on the Mac list, should work the other way as well. --JON)
  784.  
  785. -- part contents for background part 41
  786. ----- text -----
  787. Macintosh    Info¬†Management    Room
  788.  
  789. -- part contents for background part 68
  790. ----- text -----
  791. Main Hallway
  792.  
  793. -- part contents for background part 59
  794. ----- text -----
  795. Mail¬†Service Door
  796. click once to enter